﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TongTongMall.Dependecy;
using TongTongMall.MallWeb.Core.Order.Models;

namespace TongTongMall.MallWeb.Core.IApiRepositories
{
    public interface IApiGetLogisticsReposiory : ITransientDependency
    {
        /// <summary>
        /// 物流信息查询
        /// </summary>
        /// <param name="orderCode"></param>
        /// <param name="logisticCode"></param>
        /// <param name="waybillCompany"></param>
        /// <param name="logisticsUrl"></param>
        /// <returns></returns>
        Task<GetLogisticsDto> GetLogisticsAsync(string orderCode, string logisticCode,
            Order.Enum.WaybillCompanyEnum waybillCompany, string logisticsUrl);
    }
}
